<template>
  <div>
    <!-- 导航栏 -->
    <div class="home-nav">
      <div class="home-tag">
        <router-link
          to="/film/hotFilm"
          class="movie-c"
          active-class="active"
          tag="div"
          >热门电影</router-link
        >
      </div>
      <div class="home-tag">
        <router-link
          to="/film/upComingFilm"
          class="movie-c"
          active-class="active"
          tag="div"
          >即将上映</router-link
        >
      </div>
    </div>
    <router-view></router-view>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.home-nav {
  display: flex;
  justify-content: space-around;
  background-color: #e0dcdc;
  .home-tag {
    height: 8vh;
    display: flex;
    align-items: center;

    .movie-c {
      height: 100%;
      display: flex;
      align-items: center;
      border: 3px solid transparent;
    }
  }
}
.active {
  border-bottom: 3px solid #ec8a09 !important;
  color: #ec8a09;
}
</style>
